#include "status.h"

status::status()
{
}

status::status(QString id,QString content,QString time, QString sid, int p_index, QString url)
    :ID(id), Content(content), Time(time), SID(sid), person_index(p_index), URL(url)
{
    interested = false;
    replied = 0;
}
bool status_cmp_bytime(const status &a, const status &b){
    return a.Time < b.Time;
}
bool status_cmp_byreplies(const status &a, const status &b){
    return a.replied > b.replied;
}
